<div class='span12'>
	<h1><?php echo $this->Html->link($page_title, '/'); ?></h1>
	<table class="table table-bordered">
		<thead>
			<tr>
				<th></th>
				<th>Local</th>					
				<th>Visitante</th>	
				<th>Lugar</th>	
				<th>Fecha</th>
				<th>Horario</th>
					
							
				<th>Estadio</th>				
				<th>Estado</th>
				<th>Creado</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach($tournaments_matchs as $matchs):?>
				<tr>
					<td><input type='checkbox' name='match' value='<?php echo $matchs['TurnamentMatchs']['id']?>' > </td>
					<td><?php echo $this->Html->link($matchs['TurnamentMatchs']['localTeamName'], array('controller'=>'sports', 'action'=>'#',$matchs['TurnamentMatchs']['localTeamId']));?></td>
					<td><?php echo $this->Html->link($matchs['TurnamentMatchs']['visitTeamName'], array('controller'=>'sports', 'action'=>'#',$matchs['TurnamentMatchs']['visitTeamId']));?></td>
					<td><?php echo $matchs['TurnamentMatchs']['place']?></td>
					
					<td><?php echo $matchs['TurnamentMatchs']['date']?></td>
					<td><?php echo $matchs['TurnamentMatchs']['time']?></td>
					
					
					
					<td><?php echo $matchs['TurnamentMatchs']['squareName']?></td>
					<td><?php echo $matchs['TurnamentMatchs']['status']?></td>
					<td><?php echo $matchs['TurnamentMatchs']['created']?></td>
				</tr>
			<?php endforeach;?>
		</tbody>
	</table>
	<div class="pagination pagination-right ">
		<ul>
		    <?php
		        echo $this->Paginator->prev(__('prev'), array('tag' => 'li'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a'));
		        echo $this->Paginator->numbers(array('separator' => '','currentTag' => 'a', 'currentClass' => 'active','tag' => 'li','first' => 1));
		        echo $this->Paginator->next(__('next'), array('tag' => 'li','currentClass' => 'disabled'), null, array('tag' => 'li','class' => 'disabled','disabledTag' => 'a'))
		    ?>
		</ul>
	</div>
</div>	
<br>
<br>
<br>
<br>
<br>
<br>